package cn.ajb.filemanager.util;

/**
 * 返回JSON数据格式对象
 * @author weilu
 *
 * @param <T>
 */
public class JSONResult<T> {

	private int status ;
	
	private T data ;
	
	private String msg;

	public static final int STATUS_SUCCESS = 1 ;
	
	public static final int STATUS_FAILED = 0 ;
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
}
